import { createRouter, createWebHistory } from 'vue-router';

import Home from '../components/Home.vue';
import About from '../components/About.vue';
import WhyChooseUs from '../views/WhyChooseUs/WhyChooseUs.vue';
import OurServices from '../views/OurServices/OurServices.vue';
import Industries from '../views/Industries/Industries.vue';
import ToolsTips from '../views/ToolsTips/ToolsTips.vue';
import ContactUs from '../views/ContactUs/ContactUs.vue';


const routes = [
  { path: '/', name: 'Home', component: Home },
  { path: '/WhyChooseUs', name: 'Why Choose Us', component: WhyChooseUs },
  { path: '/OurServices', name: 'Our Services', component: OurServices },
  { path: '/Industries', name: 'Industries', component: Industries },
  { path: '/ToolsTips', name: 'Tools Tips', component: ToolsTips },
  { path: '/ContactUs', name: 'Contact Us', component: ContactUs },
  { path: '/about', name: 'About', component: About }
];

const router = createRouter({
  history: createWebHistory(),
  routes,
});

export default router;
